package com.bysj.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 合同模板管理对象 bysj_contract_template
 *
 * @author bysj
 * @date 2024-02-03
 */
public class ContractTemplate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationTime;

    /** 模板编号 */
    @Excel(name = "模板编号")
    private String templateNumber;

    /** 模板类型 */
    @Excel(name = "模板类型")
    private String templateType;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 模版文件 */
    @Excel(name = "模版文件")
    private String templateFile;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCreationTime(Date creationTime)
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime()
    {
        return creationTime;
    }
    public void setTemplateNumber(String templateNumber)
    {
        this.templateNumber = templateNumber;
    }

    public String getTemplateNumber()
    {
        return templateNumber;
    }
    public void setTemplateType(String templateType)
    {
        this.templateType = templateType;
    }

    public String getTemplateType()
    {
        return templateType;
    }
    public void setRemarks(String remarks)
    {
        this.remarks = remarks;
    }

    public String getRemarks()
    {
        return remarks;
    }
    public void setTemplateFile(String templateFile)
    {
        this.templateFile = templateFile;
    }

    public String getTemplateFile()
    {
        return templateFile;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("creationTime", getCreationTime())
                .append("templateNumber", getTemplateNumber())
                .append("templateType", getTemplateType())
                .append("remarks", getRemarks())
                .append("templateFile", getTemplateFile())
                .toString();
    }
}
